package com.qiyeji.real_estate.entity;

import java.util.Date;

public class timeTable extends timeTableKey {
    private String name;

    private Float worktime;

    public timeTable(String daytime, String scode, String name) {
        super(daytime, scode);
        this.name = name;
    }

    public timeTable(String name, Float worktime) {
        this.name = name;
        this.worktime = worktime;
    }

    public timeTable(String daytime, String scode, String name, Float worktime) {
        super(daytime, scode);
        this.name = name;
        this.worktime = worktime;
    }

    public timeTable() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Float getWorktime() {
        return worktime;
    }

    public void setWorktime(Float worktime) {
        this.worktime = worktime;
    }

    @Override
    public String toString() {
        return "timeTable{" +
                "name='" + name + '\'' +
                ", worktime=" + worktime +
                '}';
    }
}